<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <title>登录</title>
    <style>.error {
        color: red;
    }</style>
</head>
<body>

<div class="error">${error}</div>
<form action="" method="post">
    用户名：<label>
            <input type="text" name="username">
          </label><br/>
    密码：<label>
            <input type="password" name="password">
         </label><br/>
    <input type="submit" value="登录">
</form>

</body>
</html>